﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model.Interfaces
{
    public delegate void LoginSuccessEventHandler(object sender, ILoggedInEventArgs e);

    public delegate void LoginFailedEventHandler(object sender, string e);

    public interface ILoginManager
    {
        void TryLogin(string userName, string password);
        event LoginSuccessEventHandler LoginSuccess;
        event LoginFailedEventHandler LoginFaied;
    }
}
